package com.bwie.auth;

import com.bwie.common.config.RedisConfig;
import com.bwie.common.redis.RedisCache;
import com.bwie.common.remote.system.RemoteUserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie
 * @Project：Default (Template) Project
 * @name：${NAME}
 * @Date：2024/2/17 8:38
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@Import(
        value = {RedisCache.class,
        RedisConfig.class,
        RemoteUserService.class}
)
@EnableFeignClients(
        "com.bwie.common.remote.system"
)
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class);
    }
}
